<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'allChartBar.jsp' starting page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>
	<link href="common/common.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>ofc2/swfobject.js"></script>
	
	<script type="text/javascript">
		function makeFlash(id,heigth,width,url){
			swfobject.embedSWF(
				"<%=basePath%>ofc2/open-flash-chart-full-embedded-font.swf", 
				id, 
				heigth, 
				width, 
				"9.0.0",
				"expressInstall.swf",
				{"data-file":url},
			//	{"data-file":"<%=basePath%>json/chartBarJSON.json"},
				{wmode:"transparent"}
			);
		}
		
		//makeFlash("first","300","200","todyhcj.action")
		//makeFlash("second","300","200","toxxsbjk.action")
		//makeFlash("third","300","200","todzgwlz.action")
		//makeFlash("fourth","300","200","togisfg.action")
		makeFlash("five","1000","400","<%=basePath%>json/temp.json")
		//makeFlash("five","600","400","<%=basePath%>json/chartBarJSON.json")
		//makeFlash("six","600","400","<%=basePath%>json/chartBarJSON1.json")
		//makeFlash("five","800","500","tohuizong.action")
		
	</script>
	<style>
	td{
		text-align:center;
	}
	table{
		border-collapse: collapse;
		border : 1px solid red;
	}
	</style>
	<body>
		<table border=1 >
			<tr>
				<td>
					<div id="first"></div>
				</td>
				<td>
					<div id="second"></div>
				</td>
			</tr>
			<tr>
				<td>
					<div id="third"></div>
				</td>
				<td>
					<div id="fourth"></div>
				</td>
			</tr>
			<tr><td colspan="2"><div id="five"></div></td></tr>
			<tr><td colspan="2"><div id="six"></div></td></tr>
		</table>
	</body>
</html>
